#ifndef COMEMP_H
#define COMEMP_H
#include "employee.cpp"
class ComEmployee:virtual public Employee{
			double grossSale;
			double comRate;
		public:
			ComEmployee(const string&,const string&,const string&,double =0.0,double =0.0);

			void setGrossSale(double);
			double getGrossSale()const;
			
			void setComRate(double);
			double getComRate()const;			

			virtual double earnings()const;
			virtual void print()const;
};
#endif
